﻿using Basic.FlowModel.DB;
using Basic.FlowRemoteModel.FlowApp.Model;
using WeDonekRpc.Model;

namespace Basic.FlowDAL
{
    public interface IFlowAppDAL : IBasicDAL<DBFlowApp, long>
    {
        void SetSettleFormId ( DBFlowApp app, long? formId );
        long Add ( FlowAppSet data );
        void Enable ( DBFlowApp app );
        DBFlowApp[] Query ( FlowAppQuery query, IBasicPage paging, out int count );
        void Stop ( DBFlowApp app );
    }
}